<html>

    <wicket:head>
        <title>Medieval Cities - Army</title>
        <wicket:link>
            <link rel="stylesheet" type="text/css" href="../style.css"/>
        </wicket:link>
    </wicket:head>

    <body>
        <div id="wrapper">
            <h1>Medieval Cities</h1>

            <div id="header">
                <div id="linkPanel" align="center" wicket:id="linkPanel"></div>
                <div align="center" wicket:id="armyPanel"></div>
            </div>
            <div id="text">
                <div wicket:id="feedback"></div>

                <form wicket:id="selectCity">
                    <p>                
                        <label>Select City:</label> 
                        <select wicket:id="city"></select>
                        <input type="submit" value="Select" />
                    </p>
                </form>
                <br>
                <h2>City Armies</h2>
                <span wicket:id="listview">
                    <table id="tableSpecial" width=90%>


                        <tr>

                            <th>Name</th>
                            <th>Owner</th>
                            <th>On walls</th>                            
                            <th>To walls</th>                                              
                            <th>Send away</th>
                            <th>Disband</th> 
                        </tr>

                        <tr>

                            <td><span wicket:id="name">Name</span></td>
                            <td><span wicket:id="owner">Owner</span></td>                          
                            <td><span wicket:id="walls">On walls</span></td>
                            <td>
                                <form wicket:id="sendToWalls">
                                    <input type="submit" value="To walls" />
                                </form>
                            </td>
                            <td>
                                <form wicket:id="send">
                                    <input wicket:id="xCoordinate" type="text" size="3"/>
                                    <input wicket:id="yCoordinate" type="text" size="3"/>
                                    <select wicket:id="type"/>
                                    <input type="submit" value="Send" />
                                </form>
                            </td>
                            <td>
                                <form wicket:id="disband">                                    
                                    <input type="submit" value="Disband" />
                                </form>
                            </td>
                        </tr>
                        <tr>
                            <th colspan="6">Units</th>
                        </tr>
                        <tr>
                            <td colspan="6"><span wicket:id="units">Units</span></td> </tr>
                    </table>
                    <br>
                </span>

                <br>
                <h2>Away Armies</h2>
                <span wicket:id="awayArmies">
                    <table id="tableSpecial" width=90%>


                        <tr>
                            <th>Name</th>
                            <th>Commander</th>                                                                
                            <th>Send home</th>
                        </tr>
                        <tr>
                            <td><span wicket:id="name">Name</span></td>
                            <td><span wicket:id="commander">Commander</span></td>                          
                            <td>
                                <form wicket:id="sendHome">
                                    <input type="submit" value="Send Home" />
                                </form>
                            </td>
                        </tr>
                        <tr>
                            <th colspan="3">Units</th>
                        </tr>
                        <tr>
                            <td colspan="3"><span wicket:id="units">Units</span></td>
                        </tr>
                    </table>
                    <br>
                </span>

            </div>
            Jakub Kutil, 2014
        </div>
    </body>
</html>

